package com.lzh.gulimall.product.feign;

import com.lzh.common.to.SkuHasStockVo;
import com.lzh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @ClassName WareFeignService
 * @Description TODO
 * @Author liuzhihui
 * @Date 2020/8/24 17:45
 * @Version 1.0
 **/
@FeignClient("gulimall-ware")
public interface WareFeignService {
    @PostMapping(value = "/ware/waresku/hasStock")
    R getSkuHasStock(@RequestBody List<Long> skuIds);
}
